﻿// Admin.NET 项目的版权、商标、专利和其他相关权利均受相应法律法规的保护。使用本项目应遵守相关法律法规和许可证的要求。
//
// 本项目主要遵循 MIT 许可证和 Apache 许可证（版本 2.0）进行分发和使用。许可证位于源代码树根目录中的 LICENSE-MIT 和 LICENSE-APACHE 文件。
//
// 不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动！任何基于本项目二次开发而产生的一切法律纠纷和责任，我们不承担任何责任！

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin.NET.Application.Service.Stall.Dto;
public class StallByIdDTO
{
    public long Id { get; set; }
    /// <summary>
    /// 车位号
    /// </summary>
    [SugarColumn(ColumnName = "CarNo", ColumnDescription = "车位号", Length = 32)]
    public string? CarNo { get; set; }

    /// <summary>
    /// 房屋Id
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "RoomId", ColumnDescription = "房屋Id")]
    public int? RoomId { get; set; }

    /// <summary>
    /// 人员管理Id
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "PeopleId", ColumnDescription = "人员管理Id")]
    public long? PeopleId { get; set; }

    /// <summary>
    /// 车位类型
    /// </summary>
    [SugarColumn(ColumnName = "CarType", ColumnDescription = "车位类型")]
    public int? CarType { get; set; }

    /// <summary>
    /// 运营模式
    /// </summary>
    [SugarColumn(ColumnName = "Operation", ColumnDescription = "运营模式")]
    public int? Operation { get; set; }

    /// <summary>
    /// 运营状态
    /// </summary>
    [SugarColumn(ColumnName = "OperationState", ColumnDescription = "运营状态")]
    public int? OperationState { get; set; }


    /// <summary>
    /// 费用
    /// </summary>
    [SugarColumn(ColumnName = "StopCarMoney", ColumnDescription = "费用", Length = 10, DecimalDigits = 0)]
    public decimal? StopCarMoney { get; set; }

    /// <summary>
    /// 车位状态
    /// </summary>
    [SugarColumn(ColumnName = "CarState", ColumnDescription = "车位状态")]
    public int? CarState { get; set; }

    /// <summary>
    /// 创建者部门Id
    /// </summary>
    [SugarColumn(ColumnName = "CreateOrgId", ColumnDescription = "创建者部门Id")]
    public long? CreateOrgId { get; set; }

    /// <summary>
    /// 创建者部门名称
    /// </summary>
    [SugarColumn(ColumnName = "CreateOrgName", ColumnDescription = "创建者部门名称", Length = 64)]
    public string? CreateOrgName { get; set; }
    /// <summary>
    /// 姓名
    /// </summary>
    [SugarColumn(ColumnName = "OccupantName", ColumnDescription = "姓名", Length = 32)]
    public string? OccupantName { get; set; }
    /// <summary>
    /// 电话
    /// </summary>
    [SugarColumn(ColumnName = "OccupantPhone", ColumnDescription = "电话", Length = 32)]
    public string? OccupantPhone { get; set; }
    /// <summary>
    /// 提交、审核、驳回时间
    /// </summary>
    [SugarColumn(ColumnName = "OccupantTime", ColumnDescription = "提交、审核、驳回时间")]
    public DateTime? OccupantTime { get; set; }

    /// <summary>
    /// 有效期限
    /// </summary>
    [SugarColumn(ColumnName = "OccupantExpirationTime", ColumnDescription = "有效期限", Length = 32)]
    public string? OccupantExpirationTime { get; set; }

}
